package com.ruoyi.ams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ams.domain.AmsAssetInventorySurplus;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 盘盈Mapper接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */@Mapper
public interface AmsAssetInventorySurplusMapper extends BaseMapper<AmsAssetInventorySurplus>
{
    /**
     * 查询盘盈
     * 
     * @param inventorySurplusId 盘盈主键
     * @return 盘盈
     */
    public AmsAssetInventorySurplus selectAmsAssetInventorySurplusByInventorySurplusId(Long inventorySurplusId);

    /**
     * 查询盘盈列表
     * 
     * @param amsAssetInventorySurplus 盘盈
     * @return 盘盈集合
     */
    public List<AmsAssetInventorySurplus> selectAmsAssetInventorySurplusList(AmsAssetInventorySurplus amsAssetInventorySurplus);

    /**
     * 新增盘盈
     * 
     * @param amsAssetInventorySurplus 盘盈
     * @return 结果
     */
    public int insertAmsAssetInventorySurplus(AmsAssetInventorySurplus amsAssetInventorySurplus);

    /**
     * 修改盘盈
     * 
     * @param amsAssetInventorySurplus 盘盈
     * @return 结果
     */
    public int updateAmsAssetInventorySurplus(AmsAssetInventorySurplus amsAssetInventorySurplus);

    /**
     * 删除盘盈
     * 
     * @param inventorySurplusId 盘盈主键
     * @return 结果
     */
    public int deleteAmsAssetInventorySurplusByInventorySurplusId(Long inventorySurplusId);

    /**
     * 批量删除盘盈
     * 
     * @param inventorySurplusIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAmsAssetInventorySurplusByInventorySurplusIds(Long[] inventorySurplusIds);
}
